
class Customer:
    # get_one = False  # 第一天是否签到
    # get_two =False  # 第二天是否签到
    # get_three = False  # 第三天是否签到
    # get_num = 0   # 签到次数
    # coin_count = 0  # 领币数量

    def __init__(self, mobile_num, eth_address, get_one=False, get_two=False, get_three=False, get_num=0, coin_count=0):
        self.uid = None
        self.mobile_num = mobile_num  # 手机号
        self.eth_address = eth_address  # 地址
        self.get_one = get_one
        self.get_two = get_two
        self.get_three = get_three
        self.get_num = get_num
        self.coin_count = coin_count

    def get_mobile_num(self):
        return self.mobile_num

    def set_get_num(self, get_num):
        self.get_num += get_num

    def set_coin_count(self, coin_count):
        self.coin_count += coin_count


"""
    def set_get_two(self, get_two):
        self.get_two = get_two

    def set_get_three(self, get_three):
        self.get_three = get_three

    def set_get_one(self, get_one):
        self.get_one = get_one
"""


if __name__ == '__main__':
    print("test")
    cus = Customer('13322335566', '123456789087654323456')
    cus.get_one = '10'
    cus.coin_count += 10
    print(cus.coin_count)
    cus.coin_count += 20
    print(cus.coin_count)
    print('ok_ok_ok_ok')
    cus.set_coin_count(30)
    print(cus.coin_count)
    print(cus.get_mobile_num())
    print(cus.get_one)


